package com.finesys.backend.api.config;

/**
 * rest api config
 * @author lehoon
 * 2020.10.12
 */
public class RestApiConfig {
    /**根目录*/
    public final static String BASE_URL             = "/api/v1";

    /**用户根目录*/
    public final static String USER_BASE_URL        = BASE_URL + "/user";
    /**用户登陆*/
    public final static String USER_LOGIN_URL       = "/login";
    /**用户注销*/
    public final static String USER_LOGOUT_URL      = "/logout";
    /**用户信息*/
    public final static String USER_INFO_URL        = "/profile";
    /**添加新用户*/
    public final static String USER_CREATE_URL     = "/create";
    /**修改用户*/
    public final static String USER_UPDATE_URL     = "/update";
    /**修改用户状态*/
    public final static String USER_UPDATE_STATUS_URL     = "/updateStatus";
    /**修改用户密码*/
    public final static String USER_UPDATE_PASSWORD_URL     = "/updatePassword";
    /**删除新用户*/
    public final static String USER_DELETE_URL    = "/delete";
    /**分页查询用户*/
    public final static String USER_PAGE_LIST_URL   = "/list";
}
